ImageGear Professional v18.1 > User Guide > Getting Started > Developing an Application > Changing Image Display Settings > Image Orientation |
Orientation parameters allow you to rotate and flip an image on screen without changing the image bitmap.
Normal image orientation is top on top and left on left (i.e., image top on screen top, and image left on screen left), which can be specified with the IG_DSPL_ORIENT_TOP_LEFT constant.
IG_DSPL_ORIENT_RIGHT_TOP (i.e., top on right and left on top) constant effectively rotates the image by 90 degrees clockwise. This can be done with the following code fragment:
Copy Code
|
|
---|---|
- (IBAction)mnuDisplayOrientRIGHT_TOP:(id)sender { |
The sample below demonstrates the image oriented to right-and-top (IG_DSPL_ORIENT_RIGHT_TOP):